import { axios } from '@/utils/request'

const api = {
  submit: '/cache/submit'
}

export default api

export function submit (parameter) {
  return axios({
    url: api.submit,
    method: 'post',
    data: parameter
  })
}
